package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-25
 * Time: 22:48
 */
public class ImplementationClassB implements InterfaceA,InterfaceB {
    @Override
    public void conflict() {
        //InterfaceB.super.conflict();如果这样写会报错：java: 无法直接访问demo3.InterfaceB中的抽象方法 conflict()
        System.out.println("实现类B解决冲突后的方法");
    }
}
